<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<fmt:setBundle basename="bundles.railroadMenuBundle" />

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

<table width="50%" border="0" cellpadding="0" align="left"
	cellspacing="0">

	<tr>
		<td>
		<form method="get" action="/pages/create_order.do">
		<button type="submit">
		<h3><fmt:message key="menu.order" /></h3>
		</button>
		</form>
		</td>
	</tr>

	<c:set var="auth" value="${sessionScope['auth'] }">
	</c:set>
	<c:set var="admin" value="${sessionScope['admin']}"></c:set>
	<c:if test="${ not empty auth }">

		<tr>
			<td>
			<form method="get" action="/pages/history.do">
			<button type="submit">
			<h3><fmt:message key="menu.history" /></h3>
			</button>
			</form>
			</td>
		</tr>
		
		<c:if test="${not empty admin }">
			<tr>
				<td>
				<form method="get" action="/pages/route_create.jsp">
				<button type="submit">
				<h3><fmt:message key="menu.route.new"></fmt:message></h3>
				</button>
				</form>
				</td>
			</tr>
		</c:if>
	</c:if>

</table>

</body>
</html>